package com.comm.vo.medicinevo;

import com.entity.DrugOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

@ApiModel(value = "单据信息添加实体")
public class DrugBillView {
    @ApiModelProperty(name = "id",notes = "制单号",dataType = "int",required = true)
    private Long id;
    @ApiModelProperty(name = "purchaser",notes = "采购人",dataType = "String",required = true)
    private String purchaser;
    @ApiModelProperty(name = "purchTime",notes = "采购日期",dataType = "date",required = true)
    private Timestamp purchTime;
    @ApiModelProperty(name = "checker",notes = "审核人",dataType = "String",required = true)
    private String checker;
    @ApiModelProperty(name = "checkTime",notes = "审核日期",dataType = "date",required = true)
    private Timestamp checkTime;
    @ApiModelProperty(name = "supName",notes = "供应商",dataType = "String",required = true)
    private String supName;
    @ApiModelProperty(name = "allTrade",notes = "批发总金额",dataType = "decimal",required = true)
    private BigDecimal allTrade;
    @ApiModelProperty(name = "allPre",notes = "处方总金额",dataType = "decimal",required = true)
    private BigDecimal allPre;
    @ApiModelProperty(name = "status",notes = "状态",dataType = "int",required = true)
    private Integer status;

    private List<DrugOrder> drugOrderList;

}
